Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/ble/src/iosMain/kotlin/org/meshtastic/core/ble/NoopStubs.kt bd2863243bab6eb213401d949839a2bc74dde7e2 (bd286324) Text, 1.76 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.ble

Tff7b72import T7ee787com.juul.kable.Peripheral
Tff7b72import T7ee787com.juul.kable.PeripheralBuilder
Tff7b72import T7ee787com.juul.kable.ScannerBuilder

T8b949e// Kable's `Filter.Address` throws UnsupportedOperationException on Apple.
Tff7b72internal Tff7b72actual Tff7b72val Te6edf3supportsNativeAddressScanFilterTb4b4b4: Tffa657Boolean Tff7b72= Tff7b72false

Tff7b72internal Tff7b72actual Tff7b72fun Te6edf3ScannerBuilderTb4b4b4.Td2a8ffplatformScanConfigTb4b4b4(Tb4b4b4) Tb4b4b4{
T8b949e// No-op: preConflate is Android-only.
Tb4b4b4}

T8b949e/** No-op stubs for iOS target in core:ble. */
Tff7b72internal Tff7b72actual Tff7b72fun Te6edf3PeripheralBuilderTb4b4b4.Td2a8ffplatformConfigTb4b4b4(Te6edf3deviceTb4b4b4: Te6edf3BleDeviceTb4b4b4, Te6edf3autoConnectTb4b4b4: Tb4b4b4(Tb4b4b4) Tff7b72-Tff7b72> Tffa657BooleanTb4b4b4) Tb4b4b4{
T8b949e// No-op for stubs
Tb4b4b4}

Tff7b72internal Tff7b72actual Tff7b72fun Td2a8ffcreatePeripheralTb4b4b4(Te6edf3addressTb4b4b4: Tffa657StringTb4b4b4, Te6edf3builderActionTb4b4b4: Te6edf3PeripheralBuilderTb4b4b4.Tb4b4b4(Tb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4)Tb4b4b4: Te6edf3Peripheral Tff7b72=
Tff7b72throw Te6edf3UnsupportedOperationExceptionTb4b4b4(Ta5d6ff"Ta5d6ffiOS Peripheral not yet implementedTa5d6ff"Tb4b4b4)

Tff7b72internal Tff7b72actual Tff7b72fun Te6edf3PeripheralTb4b4b4.Td2a8ffnegotiatedMaxWriteLengthTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Int? Tff7b72= Tff7b72null

Tff7b72internal Tff7b72actual Tff7b72fun Te6edf3PeripheralTb4b4b4.Td2a8ffrequestHighConnectionPriorityTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Boolean Tff7b72= Tff7b72false

Tff7b72internal Tff7b72actual Tff7b72fun Te6edf3PeripheralTb4b4b4.Td2a8ffrequestBalancedConnectionPriorityTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Boolean Tff7b72= Tff7b72false

Tff7b72internal Tff7b72actual Tff7b72fun Te6edf3PeripheralTb4b4b4.Td2a8ffrefreshGattCacheTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Boolean Tff7b72= Tff7b72false

Served by rngit 1.5.0 - Generated in 0.04s